package pr1.gui;

import java.awt.BorderLayout;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JButton;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import javax.swing.JLabel;
import java.awt.Font;
import javax.swing.JTextField;
import javax.swing.JScrollBar;
import javax.swing.JScrollPane;

public class VistaDeSerie extends JFrame {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private JPanel contentPane;
	private JTextField titular;

	/**
	 * Launch the application.
	 */
	

	/**
	 * Create the frame.
	 */
	public VistaDeSerie() {
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 450, 300);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JButton btnNewButton = new JButton("Seguir serie");
		btnNewButton.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
			}
		});
		btnNewButton.setBounds(122, 228, 89, 23);
		contentPane.add(btnNewButton);
		
		JButton btnNewButton_1 = new JButton("Cerrar");
		btnNewButton_1.setBounds(226, 228, 89, 23);
		contentPane.add(btnNewButton_1);
		
		JLabel lblNombreDeSerie = new JLabel("NOMBRE DE SERIE");
		lblNombreDeSerie.setFont(new Font("Tahoma", Font.BOLD, 18));
		lblNombreDeSerie.setBounds(132, 11, 184, 14);
		contentPane.add(lblNombreDeSerie);
		
		JLabel lblfiniFfin = new JLabel("(FIni - FFin)");
		lblfiniFfin.setBounds(326, 14, 70, 14);
		contentPane.add(lblfiniFfin);
		
		titular = new JTextField();
		titular.setBounds(10, 36, 396, 44);
		contentPane.add(titular);
		titular.setColumns(10);
		
		JLabel lblGnero = new JLabel("Género: ");
		lblGnero.setFont(new Font("Tahoma", Font.BOLD, 11));
		lblGnero.setBounds(10, 91, 55, 14);
		contentPane.add(lblGnero);
		
		JLabel lblSinopsis = new JLabel("Sinopsis");
		lblSinopsis.setFont(new Font("Tahoma", Font.BOLD, 11));
		lblSinopsis.setBounds(10, 116, 46, 14);
		contentPane.add(lblSinopsis);
		
		JScrollPane scrollPane = new JScrollPane();
		scrollPane.setBounds(10, 141, 396, 76);
		contentPane.add(scrollPane);
	}
}
